package com.ruoyi.consume.service;

import java.util.List;
import com.ruoyi.consume.domain.GreenhousefilmApplyTemporaryCon;

/**
 * 棚膜临时领用Service接口
 *
 * @author ruoyi
 * @date 2021-07-27
 */
public interface IGreenhousefilmApplyTemporaryConService
{
    /**
     * 查询棚膜临时领用
     *
     * @param greenhousefilmApplyTemporaryId 棚膜临时领用ID
     * @return 棚膜临时领用
     */
    public GreenhousefilmApplyTemporaryCon selectGreenhousefilmApplyTemporaryById(Long greenhousefilmApplyTemporaryId);

    /**
     * 查询棚膜临时领用列表
     *
     * @param greenhousefilmApplyTemporaryCon 棚膜临时领用
     * @return 棚膜临时领用集合
     */
    public List<GreenhousefilmApplyTemporaryCon> selectGreenhousefilmApplyTemporaryList(GreenhousefilmApplyTemporaryCon greenhousefilmApplyTemporaryCon);

    /**
     * 新增棚膜临时领用
     *
     * @param greenhousefilmApplyTemporaryCon 棚膜临时领用
     * @return 结果
     */
    public int insertGreenhousefilmApplyTemporary(GreenhousefilmApplyTemporaryCon greenhousefilmApplyTemporaryCon);

    /**
     * 修改棚膜临时领用
     *
     * @param greenhousefilmApplyTemporaryCon 棚膜临时领用
     * @return 结果
     */
    public int updateGreenhousefilmApplyTemporary(GreenhousefilmApplyTemporaryCon greenhousefilmApplyTemporaryCon);

    /**
     * 批量删除棚膜临时领用
     *
     * @param greenhousefilmApplyTemporaryIds 需要删除的棚膜临时领用ID
     * @return 结果
     */
    public int deleteGreenhousefilmApplyTemporaryByIds(Long[] greenhousefilmApplyTemporaryIds);

    /**
     * 删除棚膜临时领用信息
     *
     * @param greenhousefilmApplyTemporaryId 棚膜临时领用ID
     * @return 结果
     */
    public int deleteGreenhousefilmApplyTemporaryById(Long greenhousefilmApplyTemporaryId);

    /**
     * 更新库存量表
     *
     * @param greenhousefilmApplyTemporaryCon 棚膜临时领用
     * @return 结果
     */
    public int updateAmount(GreenhousefilmApplyTemporaryCon greenhousefilmApplyTemporaryCon);

    /**
     * 更新领用状态
     *
     * @param greenhousefilmApplyTemporaryId 棚膜临时领用ID
     * @return 结果
     */
    public int updateConsumeStatus(Long greenhousefilmApplyTemporaryId);

    /**
     * 退回操作
     *
     * @param greenhousefilmApplyTemporaryId 棚膜临时领用ID
     * @return 结果
     */
    public int updateApprovalStatus(Long greenhousefilmApplyTemporaryId);
}
